phpseclib\Net\SSH2 D

Total Complexity 462
Dependencies 16
Dependents 7
Total lines 4,129
Lines of code 2,077
Logical lines of code 1,271
Comment lines 1,442
Methods 75
Properties 75

Methods 75

Method Rating Maintainability Complexity Lines of code
_key_exchange()
D
8
64 474
_get_channel_packet()
D
24
44 160
_login_helper()
C
30 27 131
_filter()
C
32 23 102
_keyboard_interactive_process()
B
36 21 77
exec()
B
34 19 104
_connect()
B
36 20 76
_encryption_algorithm_to_key_size()
B
49 22 30
_get_binary_packet()
B
39 20 57
_encryption_algorithm_to_crypt_instance()
B
47 21 34
getServerPublicHostKey()
B
35 16 83
_privatekey_login()
A
38 12 74
_append_log()
A
42 12 54
_initShell()
A
39 10 76
read()
A
49 11 28
_send_binary_packet()
A
48 8 29
__construct()
S
36 3 86
_generate_identifier()
S
55 7 21
startSubsystem()
S
47 5 42
_login()
S
57 6 17
_close_channel()
S
58 5 16
_send_channel_packet()
S
52 4 26
_format_log()
S
53 4 20
getLog()
S
60 4 15
_define_array()
S
62 4 12
_get_open_channel()
S
64 4 9
write()
S
64 4 9
_keyboard_interactive_login()
S
57 2 20
_get_interactive_channel()
S
66 3 10
_array_intersect_first()
S
68 3 8
disconnect()
S
68 3 7
_ssh_agent_login()
S
64 3 10
_disconnect()
S
64 2 9
getLastError()
S
71 2 6
getConnectionByResourceId()
S
77 2 3
getExitStatus()
S
73 2 6
_on_channel_open()
S
75 2 5
getCompressionAlgorithmsClient2Server()
S
78 1 4
getMACAlgorithmsClient2Server()
S
78 1 4
getMACAlgorithmsServer2Client()
S
78 1 4
getBannerMessage()
S
83 1 3
getCompressionAlgorithmsServer2Client()
S
78 1 4
getLanguagesServer2Client()
S
78 1 4
getLanguagesClient2Server()
S
78 1 4
getEncryptionAlgorithmsClient2Server()
S
78 1 4
getWindowColumns()
S
83 1 3
getWindowRows()
S
83 1 3
setWindowColumns()
S
82 1 3
setWindowRows()
S
82 1 3
setWindowSize()
S
77 1 4
__toString()
S
82 1 3
getResourceId()
S
79 1 3
getEncryptionAlgorithmsServer2Client()
S
78 1 4
getStdError()
S
83 1 3
getServerHostKeyAlgorithms()
S
78 1 4
isQuietModeEnabled()
S
83 1 3
setTimeout()
S
81 1 3
stopSubsystem()
S
74 1 5
reset()
S
82 1 3
isTimeout()
S
83 1 3
__destruct()
S
83 1 3
isConnected()
S
80 1 3
enableQuietMode()
S
82 1 3
disableQuietMode()
S
82 1 3
enablePTY()
S
82 1 3
getKexAlgorithms()
S
78 1 4
disablePTY()
S
82 1 3
isPTYEnabled()
S
83 1 3
setCryptoEngine()
S
82 1 3
login()
S
75 1 4
_string_shift()
S
73 1 5
_format_log_helper()
S
77 1 3
getErrors()
S
83 1 3
getServerIdentification()
S
78 1 4
getConnections()
S
81 1 3